package testcasegeneration

import (
	"strconv"
)

func randomArray(arrlen int) string {
	resArr := make([]int, 0, arrlen)
	for i := 0; i < arrlen; i++ {
		resArr = append(resArr, randomIntData(0, 2*arrlen))
	}
	resArrPyString := "["
	for i := range resArr {
		resArrPyString += strconv.Itoa(resArr[i])
		if i != len(resArr)-1 {
			resArrPyString += ","
		}
	}
	resArrPyString += "]"

	return resArrPyString
}
